<div class="title">
  基本信息
  <%= link_to '返回',
        order_url(@order),
        :remote => true,
        :method => :get,
        :class => 'crud back'
   %>
</div>
<%= form_for @order,
     :url => order_url(@order),
     :remote => true,
     :method => :put do |f|
 %>
<dl class="grid_7 alpha omega">
  <dt class="grid_6 alpha omega">订单号：</dt>
  <dd class="grid_6 alpha omega"><%= f.text_field :order_no %></dd>
</dl>
<dl class="grid_7 alpha omega">
  <dt class="grid_6 alpha omega">预订日期：</dt>
  <dd class="grid_6 alpha omega">
  <%= f.text_field :ordered_on, :class => :date %>
    <script>
      $('#order_ordered_on').datepicker({
        showButtonPanel: true
      });
    </script>
  </dd>
</dl>
<dl class="grid_7 alpha omega">
  <dt class="grid_6 alpha omega">交货日期：</dt>
  <dd class="grid_6 alpha omega">
  <%= f.text_field :deliveried_on, :class => :date %>
    <script>
      $('#order_deliveried_on').datepicker({
        showButtonPanel: true
      });
    </script>
  </dd>
</dl>
<dl class="grid_7 alpha omega">
  <dt class="grid_6 alpha omega">销售店面：</dt>
  <dd class="grid_6 alpha omega"><%= f.text_field :shop_name %></dd>
</dl>
<dl class="grid_7 alpha omega"> 
  <dt class="grid_6 alpha omega">销售员：</dt>
  <dd class="grid_6 alpha omega"><%= f.text_field :saler_full_name %></dd>
</dl>
<div class="grid_5 form_tool">
  <%= f.submit '保存' %>
  <%= link_to '返回',
        order_url(@order),
        :remote => true,
        :method => :get,
        :class => :button
   %>
</div>
<%end%>
